package com.qingcheng.pojo.comment;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * comment实体类
 * @author Administrator
 *
 */
@Table(name="tb_comment")
public class Comment implements Serializable{

	@Id
	private String id;//id


	

	private String username;//用户名

	private String orderId;//订单id

	private String spuId;//商品id

	private String image;//图片地址

	private Integer star;//评级  1 差评 2-3中评  4-5 好评

	private java.util.Date createTime;//创建时间

	private java.util.Date responseTime;//追加评论时间

	private String message;//评论内容

	private Integer greatCount;//点赞数

	private Integer isDelete;//0:未删除  1：已删除

	private Integer reportStatus;//0:未举报  1:已举报  2:审核通过

	private String response;//追评

	private String responseImage;//追评图片

	private String spuSpec;//商品规格

	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}

	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getSpuId() {
		return spuId;
	}
	public void setSpuId(String spuId) {
		this.spuId = spuId;
	}

	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}

	public Integer getStar() {
		return star;
	}
	public void setStar(Integer star) {
		this.star = star;
	}

	public java.util.Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	public java.util.Date getResponseTime() {
		return responseTime;
	}
	public void setResponseTime(java.util.Date responseTime) {
		this.responseTime = responseTime;
	}

	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}

	public Integer getGreatCount() {
		return greatCount;
	}
	public void setGreatCount(Integer greatCount) {
		this.greatCount = greatCount;
	}

	public Integer getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getReportStatus() {
		return reportStatus;
	}
	public void setReportStatus(Integer reportStatus) {
		this.reportStatus = reportStatus;
	}

	public String getResponse() {
		return response;
	}
	public void setResponse(String response) {
		this.response = response;
	}

	public String getResponseImage() {
		return responseImage;
	}
	public void setResponseImage(String responseImage) {
		this.responseImage = responseImage;
	}

	public String getSpuSpec() {
		return spuSpec;
	}
	public void setSpuSpec(String spuSpec) {
		this.spuSpec = spuSpec;
	}


	
}
